package com.itcc.controller;

//  返回的状态码
public class Code {

    //注册成功与否
    public static final int REGISTER_SUCCESS = 201;
    public static final int REGISTER_ERROR = 200;

    //登录成功与否
    public static final int LOGIN_SUCCESS = 501;
    public static final int LOGIN_ERROR = 500;

    //用户是否存在
    public static final int USER_EXIST = 10001;
    public static final int USER_NOT_EXIST = 10000;

    //验证码错误
    public static final int CAPTCHA_ERROR = 20000;

    //下载成功与否
    public static final int DOWNLOAD_SUCCESS = 30001;
    public static final int DOWNLOAD_ERROR = 30000;


}

